﻿ALTER TABLE [dbo].[IssueAttachments]
    ADD CONSTRAINT [FK_IssueAttachments_Attachments] FOREIGN KEY ([AttachmentId]) REFERENCES [dbo].[Attachments] ([AttachmentId]) ON DELETE NO ACTION ON UPDATE NO ACTION;

